import request from '@/utils/request'

//获取外呼类型个数
//外呼状态分布接口
export const getServiceNum = data => {
  return request({
    url: '/overview/serNum-list',
    method: 'get',
    params: data,
  })
}

//获取时间差
//对话时长分布接口
export const getTimeCut = data => {
  return request({
    url: '/overview/timeCut-list',
    method: 'get',
    params: data,
  })
}

//获取对话轮次数据
//对话轮次分布接口
export const getDiaNum = data => {
  return request({
    url: '/overview/diaNum-list',
    method: 'get',
    params: data,
  })
}

//短信点击跟踪
//获取短信短链发送数据
export const getMessageNum = data => {
  return request({
    url: '/overview/messageNum-list',
    method: 'get',
    params: data,
  })
}

//外呼到达统计
//获取外呼到达数据
export const getArriveNum = data => {
  return request({
    url: '/overview/arriveNum-list',
    method: 'get',
    params: data,
  })
}

//意向分布图
//获取意向标签数据
export const getIntentNum = data => {
  return request({
    url: '/overview/intentNum-list',
    method: 'get',
    params: data,
  })
}

//相关意向路线分布
//获取线路数据
export const getRouteNum = data => {
  return request({
    url: '/overview/routeNum-list',
    method: 'get',
    params: data,
  })
}

//标签采集表
//获取标签数据
export const getLabel = data => {
  return request({
    url: '/overview/label-list',
    method: 'get',
    params: data,
  })
}
